package com.sugar.real.estate.module.business.controller.app.infocls.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

@Schema(description = "APP - 已开通城市 Response VO")
@Data
public class AppOpenedCityRespVO {

    @Schema(description = "城市ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "31760")
    private Long id;

    @Schema(description = "城市名称", requiredMode = Schema.RequiredMode.REQUIRED)
    private String name;
    private String nameZhCn;
    private String nameEnUs;

    @Schema(description = "父级Id", requiredMode = Schema.RequiredMode.REQUIRED, example = "31760")
    private Long parentId;

    @Schema(description = "类型（0国内 1国外）", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    private Boolean type;

    @Schema(description = "子级", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    private List<AppOpenedCityRespVO> childList;
}